${response.setContentType("text/html")}
${response.setHeader("Cache-Control", "no-cache")}
${response.setCharacterEncoding("UTF-8")}
<#--${response.setContentType("text/plain")}-->
<html lang="en"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Connect Web Server</title>


    <!-- Framework CSS -->
    
    <link rel="stylesheet" href="static/css/blueprint/screen.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="static/css/blueprint/print.css" type="text/css" media="print">
    <!--[if lt IE 8]><link rel="stylesheet" href="static/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->

    <!-- Import fancy-type plugin for the sample page. -->
    <link rel="stylesheet" href="static/css/blueprint/fancytype.css" type="text/css" media="screen, projection">
    
    <!-- Custom styles to override framework -->
     <link rel="stylesheet" href="static/css/main.css" type="text/css" media="screen, projection">
  </head>
<body>
    <div class="container">
   
   <div class="right box"> ${server.time.getTimeString()} ${server.time.getDateString()}
   <#if !session.isAnonymous()>
   <br/> User: ${session.getUser()} [<a href="doLogout">Logout</a>]
   <#else>
   <form action="/doLogin" method="GET" >
Username:<input name="name" type="text" /><BR/> Password:<input name="password" type="password"/><button name="Submit" type="submit">Login</button> 
</form>
   </#if>
 
   
   </div>
    
     <br/>
      <h1><a href="/"><img src="static/images/ConnectLogo.png"  alt="Connect" style="vertical-align:middle;" ></a>  Connect Web Server</h1>
         <hr>
      <div class="span-24">
        
        <!-- Content -->
       <#assign ds = data.getDataSource("FileDataSource")>
       <#list ds.doQuery() as record>
           <li>${record.get(0)}
	  </#list>
        
        
        
        
      </div>
     
      <hr>
      <div class="last quiet right"> 
          <a href="http://www.binarycube.com"><img src="static/images/logo-bw.png" width="150" /></a><br/>
      </div>
</div>
  

</body></html>